﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MarchEstate.Manager.BusinesEntity;
using MarchEstate.Manager.Dao.Init;

namespace MarchEstate.Manager.ObjectModel.Init
{
    public class WYBaseData : AbstractBaseData
    {
        private BaseDataDao baseDataDao = null;

        public WYBaseData()
        {

        }
        public override void InitDao()
        {
            base.InitDao();
            baseDataDao = NewDao<BaseDataDao>();
        }
        public override List<AbstractBaseData> GetBaseDic(int type)
        {
            throw new NotImplementedException();
        }

        public override List<AbstractBaseData> GetStatItem()
        {
            return baseDataDao.GetStatItem();
        }
    
        public override System.Data.DataTable  GetBaseDicData(int type)
        {
            return baseDataDao.GetBaseDic(type);
        }

        public override List<AbstractBaseData> GetAreaList()
        {
            return baseDataDao.GetAreaList();
        }

        public override List<AbstractBaseData> GetBuildList(string areacode)
        {
            return baseDataDao.GetBuildList(areacode);
        }
    }
}
